:-dynamic cella/2.
dim(6,6).
cella(safe,p(1,1)).
cella(safe,p(1,2)).
cella(safe,p(1,3)).
cella(safe,p(1,4)).
cella(safe,p(1,5)).
cella(safe,p(1,6)).
cella(pozzo,p(2,1)).
cella(safe,p(2,2)).
cella(pozzo,p(2,3)).
cella(safe,p(2,4)).
cella(safe,p(2,5)).
cella(safe,p(2,6)).
cella(safe,p(3,1)).
cella(pozzo,p(3,2)).
cella(safe,p(3,3)).
cella(wumpus,p(3,4)).
cella(safe,p(3,5)).
cella(safe,p(3,6)).
cella(safe,p(4,1)).
cella(safe,p(4,2)).
cella(safe,p(4,3)).
cella(pozzo,p(4,4)).
cella(pozzo,p(4,5)).
cella(safe,p(4,6)).
cella(tesoro,p(5,1)).
cella(safe,p(5,2)).
cella(pozzo,p(5,3)).
cella(safe,p(5,4)).
cella(tesoro,p(5,5)).
cella(pozzo,p(5,6)).
cella(safe,p(6,1)).
cella(safe,p(6,2)).
cella(safe,p(6,3)).
cella(safe,p(6,4)).
cella(pozzo,p(6,5)).
cella(safe,p(6,6)).
